{extend name="layout/base" /}
{block name="main"}
<div class="news">
    <div class="container">
        <div class="index-title txt-c">
            <em>你的梦想我很在意 更支持</em>
            <div class="line">
                <h3>酒店新闻<img src="__STATIC__/en-news.png" height="16" width="93"></h3>
            </div>
        </div>
        <div class="news-list c">
            <ul>
                <table width="97%" height="40" border="0" align="center" cellpadding="0" cellspacing="0"
                       class="newsline">
                    {foreach $newsList as $news}
                    <tr height="35">
                        <td width="2%" align="center" class="newsline"><img src="__STATIC__/1.png"/></td>
                        <td width="72%" class="newsline"><a href="/news/{$news.id}">{$news.title}&nbsp;&nbsp;({$news.author})</a></td>
                        <td width="11%" class="newsline">被点击{$news.view_times}次</td>
                        <td width="15%" class="newsline">{$news.create_time}</td>
                    </tr>
                    {/foreach}
                </table>
                <div class="fy"><a href="news?page=1">首页</a> <a href="news?page={$page-1}">前一页</a> <a
                        href="news?page={$page+1}">后一页</a> <a
                        href="news?page={$totalPage}">末页</a>
                    当前第{$page}页,共{$totalPage}页 以上数据共
                    {$total}条,
                </div>
            </ul>
        </div>

    </div>
</div>
{/block}
